<?php
/**
* The Header for our index file.
*
* @package fructa
* @since fructa 1.0
*/
?>
<div class="f-footer">
	<div class="f-inner">
		<?php
		$the_query = new WP_Query('name=footer');
		if ($the_query->have_posts()) {
			while ($the_query->have_posts()) {
				$the_query->the_post();
				the_content();
			}
		}
		wp_reset_postdata();
		?>
	</div><!-- end of f-inner -->
</div><!--end of footer-->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/swipe.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(document).ready(function(){
	if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) {
		defineHeight();
		window.setTimeout(function(){defineHeight();},500);
	}
	if ( $(window).width() > 800 ) {
		defineHeight();
		window.setTimeout(function(){defineHeight();},500);
		$( window ).load(function() {
		  gridHeight();
		});
		/*window.setTimeout(function(){gridHeight();},1500);*/
		scrollMoreInfo();
	}
});
</script>
<?php get_template_part('googleanalytics'); ?>
<?php wp_footer(); ?>
</body>
</html>